package com.jqweb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("cart")
public class CartEntity  {
    @TableId(type = IdType.AUTO)  // 指定ID为数据库自增
    private Integer id;
    private Integer user_id;
    private Integer goods_id;
    private String goods_name;
    private Double goods_price;
    private Integer goods_count;
    private String img;
}
